/**
 *@swagger
 *  /node/api/users/login:
 *    post:
 *      tags:
 *      - 用户模块
 *      summary: 登录
 *      requestBody:
 *          required: true
 *          content:
 *            application/json:
 *              schema:
 *                $ref: '#/definitions/login'
 *      responses:
 *        200:
 *          description: success
 *        401:
 *          description: token过期
 *        404:
 *          description: not found
 * */

/**
 *@swagger
 *  /node/api/users/add:
 *    post:
 *      tags:
 *      - 用户模块
 *      summary: 添加用户
 *      requestBody:
 *          required: true
 *          content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  user:
 *                    type: string
 *                    description: 账户
 *                  pass:
 *                    type: string
 *                    default: "U2FsdGVkX19/evwbgz40tqFY82Ou/yEUS9NQtgvXFas="
 *                    description: 通过crypto加密[string]
 *                  captcha:
 *                    type: string
 *                    description: 验证码
 *      responses:
 *        200:
 *          description: success
 *        401:
 *          description: token过期
 *        404:
 *          description: not found
 * */

/**
 * @swagger
 *  /node/api/users/del:
 *   delete:
 *     tags:
 *     - 用户模块
 *     summary: 删除用户
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *     requestBody:
 *         required: true
 *         content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  data:
 *                    type: array
 *                    description: 唯一标识
 *                    default: [id, id]
 *                    required: true
 *     responses:
 *       200:
 *         description: success
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/users/find:
 *   get:
 *     tags:
 *     - 用户模块
 *     summary: 用户列表
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - name: page
 *         description: 当前页
 *         in: query
 *         type: num
 *         default: 1
 *       - name: limit
 *         description: 页数
 *         in: query
 *         type: num
 *         default: 10
 *       - name: name
 *         description: 查询关键字
 *         in: query
 *         type: string
 *       - name: field
 *         description: 查询字段
 *         in: query
 *         type: string
 *       - name: order
 *         description: 排序方式（ 1 / 正序、0 / 倒序）
 *         in: query
 *         type: string
 *         default: 1
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  /node/api/users/info/{id}:
 *   get:
 *     tags:
 *     - 用户模块
 *     summary: 用户详细
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - name: id
 *         description: 唯一标识
 *         in: path
 *         type: string
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 *@swagger
 *  /node/api/users/up:
 *    put:
 *      tags:
 *      - 用户模块
 *      summary: 修改用户详细
 *      parameters:
 *        - name: token
 *          in: header
 *          required: true
 *          type: string
 *          default: "Bearer "
 *      requestBody:
 *          required: true
 *          content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  id:
 *                    type: number
 *                    description: 唯一标识
 *                    required: true
 *                  user:
 *                    type: string
 *                    description: 账号
 *                    required: true
 *                  phone:
 *                    type: string
 *                    description: 联系
 *                  name:
 *                    type: string
 *                    description: 名称
 *                  jurisdiction:
 *                    type: number
 *                    description: 权限
 *                  email:
 *                    type: string
 *                    description: 邮箱
 *                  sex:
 *                    type: number
 *                    description: 性别
 *                  photo:
 *                   type: string
 *                   description: 头像url
 *                  age:
 *                   type: number
 *                   description: 年龄
 *      responses:
 *        200:
 *          description: success
 *        401:
 *          description: token过期
 *        404:
 *          description: not found
 * */

/**
 * @swagger
 *  /node/api/users/restPwd:
 *   post:
 *     tags:
 *     - 用户模块
 *     summary: 重置密码
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *     requestBody:
 *         required: true
 *         content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  user:
 *                    type: string
 *                    description: 账户
 *     responses:
 *       200:
 *         description: success
 *       404:
 *         description: not found
 * */

/**
 *@swagger
 *  /node/api/users/minePwd:
 *    post:
 *      tags:
 *      - 用户模块
 *      summary: 修改自己密码
 *      parameters:
 *        - name: token
 *          in: header
 *          required: true
 *          type: string
 *          default: "Bearer "
 *      requestBody:
 *          required: true
 *          content:
 *            application/json:
 *              schema:
 *                type: object
 *                properties:
 *                  user:
 *                    type: string
 *                    description: 账户
 *                  pass:
 *                    type: string
 *                    description: 旧密码
 *                  upPass:
 *                    type: string
 *                    description: 新密码(修改密码均不需加密)
 *      responses:
 *        200:
 *          description: success
 *        401:
 *          description: token过期
 *        404:
 *          description: not found
 * */

/**
 * @swagger
 *  /node/api/users/export:
 *   get:
 *     tags:
 *     - 用户模块
 *     summary: 用户导出
 *     parameters:
 *       - name: token
 *         in: header
 *         required: true
 *         type: string
 *         default: "Bearer "
 *       - name: page
 *         description: 当前页
 *         in: query
 *         type: num
 *         default: 1
 *       - name: limit
 *         description: 页数
 *         in: query
 *         type: num
 *         default: 10
 *       - name: name
 *         description: 导出关键字
 *         in: query
 *         type: string
 *       - name: field
 *         description: 查询关键字段
 *         in: query
 *         type: string
 *       - name: order
 *         description: 排序方式（ 1 / 正序、0 / 倒序）
 *         in: query
 *         type: string
 *         default: 1
 *     responses:
 *       200:
 *         description: success
 *       401:
 *         description: token过期
 *       404:
 *         description: not found
 * */

/**
 * @swagger
 *  definitions:
 *    login:
 *      type: object
 *      properties:
 *        user:
 *          type: string
 *          description: 账户（不同账号权限不同）
 *        pass:
 *          type: string
 *          description: 密码通过crypto加密
 *        captcha:
 *          type: string
 *          description: 验证码
 *      example:
 *        user: "admin"
 *        pass: "U2FsdGVkX19/evwbgz40tqFY82Ou/yEUS9NQtgvXFas="
 *        captcha: ""
 * */
